package com.lxl.securitypermission.service;

import com.lxl.securitypermission.controller.vo.SimplePermissionVo;
import com.lxl.securitypermission.dto.ResponseResult;
import com.lxl.securitypermission.dto.ResponseResultPage;
import java.util.List;

public interface PermissionService {

  ResponseResultPage getPermissionList(String search, int page, int limit);

  ResponseResult sw(Integer id,Integer status);

  ResponseResult delete(Integer id);

  ResponseResult edit(Integer id,String pattern,String action);

  ResponseResult add(String pattern, String action);

  List<SimplePermissionVo> getSimplePermissionVo(int status);
}
